package com.xhs.main.dao.cwb;

import com.xhs.main.entity.cwb.CwbDepartment;

import java.util.List;

public interface CwbDepartmentDao {

    void insertCwbDepartment(CwbDepartment cwbDepartment);

    //查询所有的部门申请
    List<CwbDepartment> selectAllCwbDepartment();

    CwbDepartment selectOneByID(Integer cwbDId);

    //汇总所有部门的总申请金额
    Double selectAllMoney();

    //查询审批过的申请
    Integer selectAllApprover();

    //查询待审批的申请
    Integer selectAllNoApprover();
}
